package design.observer;

// 观察者模式Demo
public class ObserveDemo {
    public static void main(String[] args) {
        Topic topic = new Topic();
        new ConcreteObserver(topic);

        topic.setState(100);
    }
}
